package com.da.javatest.design.schema.factorymethod.order;

public class PizzaStore {

    public static void main(String[] args) {
        String loc = "aa";
        if (loc.equals("bj")) {
            //创建北京口味的各种Pizza
            new BJOrderPizza();
        } else {
            //创建伦敦口味的各种Pizza
            new LDOrderPizza();
        }
    }

}